#ifndef NATIVEAPP_H
#define NATIVEAPP_H

#include <QObject>
#include <QMap>
#include <QDragEnterEvent>
#include <singleton.h>
#include <QApplication>


class ActiveApp;
class MainWindowService;
class ActiveApp : public QApplication
{
    Q_OBJECT

public:
   ActiveApp(int &argc, char** argv);
    ~ActiveApp();

    void argvParse(int argc, char** argv);
    const QStringList& getFileList();


signals:
    void signalQuit();

protected:
    bool event(QEvent * event) override;
    bool notify(QObject *obj, QEvent *event) override;

private:
    QStringList m_argvList;

private:
    void fileCheck(QStringList argvList);
    void quitApp();

};

#endif // NATIVEAPP_H
